package com.luchao.back.mapper;

import com.luchao.back.pojo.Ads;
import com.luchao.back.pojo.FriendLinks;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AdsMapper {

    List<Ads> getAdsByPage(@Param("startNum") int startNum, @Param("pageSize") int pageSize);

    long getAdsCount();

    int checkAds(String adcompany);

    int addAds(Ads ads);

    int deleteAds(Integer adid);

    int batchDeleteAds(List<Ads> ads);
}
